Replication files for "Bounding Partisan Approval Rates Under Endogenous Partisanship"

To replicate the data construction and results in the paper and online appendix, first unzip the "JOP_Bounds.tar.gz" file. The unzipped folder contains all raw data, statistical code, and the folder structure necessary to replicate the results. The most straightfoward option to replicate the analysis is to execute the shell script "Complete_Execution_File.sh". Executing the shell script will produce all of the results.

Alternatively, you can execute the Stata .do files manually. To replicate the data construction, begin in the Build/Code folder and execute the .do files in the following sequence:

1. Prep_ANES
2. Prep_Gallup
3. Roper_Prep
4. Prep_Gallup_Analytics

Then create symbolic links for all of the files contained in Build/Output to the Analysis/Input folder and Build/temp to Analysis/temp. (You can also copy the folder contents manually). This step is necessary to complete the data analysis procedures contained in the Analysis folder.

To complete the data analysis replication, move to the Analysis/Code folder and execute the .do files in the following sequence:

1. Gallup_Analysis
2. Gallup_Analytics_Bounds
3. Gallup_Analytics_Bounds_Robust
